/*
 * PhysicalBO.java
 *
 * Created on March 26, 2007, 10:54 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.jjenkins.data;
//yadda yadda, testing
import java.sql.Date;

/**
 *
 * @author Josh
 */
public class PhysicalBO extends BusinessObject {
    
    private String serialNum;
    private String shelfLocation;
    private Date datePurchased = null;
    private String type;
    private StoreBO store;
    private ConceptualBO conceptual;
    
    /** Creates a new instance of PhysicalBO */
    public PhysicalBO() {
    }
    
    /**
     * Sets the serial number of the physical product
     * @param serialNum String
     */
    public void setSerialNum(String serialNum){
        this.serialNum = serialNum;
    }
    
    /**
     * Gets the serial number of the physical product
     * @return String
     */
    public String getSerialNum(){
        return serialNum;
    }

    /**
     * Gets the shelf location of the physical product
     * @return String
     */
    public String getShelfLocation() {
        return shelfLocation;
    }

    /**
     * Sets the shelf location of the physical product
     * @param shelfLocation String
     */
    public void setShelfLocation(String shelfLocation) {
        this.shelfLocation = shelfLocation;
    }

    /**
     * Gets the date the product was purchased
     * @return Date
     */
    public Date getDatePurchased() {
        return datePurchased;
    }

    /**
     * Sets the purchase date of the product
     * @param datePurchased Date
     */
    public void setDatePurchased(Date datePurchased) {
        this.datePurchased = datePurchased;
    }

    /**
     * Gets the type of product it is (sale or rental)
     * @return String
     */
    public String getType() {
        return type;
    }

    /**
     * Sets the type of product it is (sale or rental)
     * @param type String
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * Gets the store in which the product is located
     * @return StoreBO
     */
    public StoreBO getStore() {
        return store;
    }

    /**
     * Sets the store in which the product is located
     * @param store StoreBO
     */
    public void setStore(StoreBO store) {
        this.store = store;
    }

    /**
     * Gets the conceptual product that the product is a part of
     * @return ConceptualBO
     */
    public ConceptualBO getConceptual() {
        return conceptual;
    }

    /**
     * Sets the conceptual product that the product is part of
     * @param conceptual ConceptualBO
     */
    public void setConceptual(ConceptualBO conceptual) {
        this.conceptual = conceptual;
    }
}
